﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace PTA.NET
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void pictureEdit1_MouseEnter(object sender, EventArgs e)
        {
            pictureEdit1.Size = new System.Drawing.Size(pictureEdit1.Size.Width + 10, pictureEdit1.Size.Height + 10);
            pictureEdit1.Location = new Point(pictureEdit1.Location.X - 5, pictureEdit1.Location.Y -5);
            pictureEdit1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
        }

        private void pictureEdit1_MouseLeave(object sender, EventArgs e)
        {
            pictureEdit1.Size = new System.Drawing.Size(pictureEdit1.Size.Width - 10, pictureEdit1.Size.Height - 10);
            pictureEdit1.Location = new Point(pictureEdit1.Location.X + 5, pictureEdit1.Location.Y + 5);
            pictureEdit1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
        }
    }
}
